//
//  TOCreateTools.m
//  X-Tribe
//
//  Created by Miss.Ou on 16/4/4.
//  Copyright © 2016年 Miss.Ou. All rights reserved.
//

#import "TOCreateTools.h"

@implementation TOCreateTools

-(UIButton *)createTipButtonsWithName:(NSString *)tipName Target:(id)target SEL:(SEL)action{
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    [btn setTitle:tipName forState:UIControlStateNormal];
    [btn setTintColor:[UIColor blackColor]];
    [btn addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
    return btn;
}

@end
